/*
 * main.c
 */
#include "DSP281x_CpuTimers.h"
#include "DSP281x_SysCtrl.h"
#include "DSP281x_Device.h"

#include "stdio.h"

int main(void) {
	InitSysCtrl();
	DINT;
	InitPieCtrl();
	IER=0X0000;
	IFR=0X0000;
	InitPieVectTable();
	InitSci();

	PieCtrlRegs.PIEIFR9.bit.INTx1=1;
	IER|=M_INT9;
	EINT;
	ERTM;
	for(;;){
		//DELAY_US(100000);
		printf("Well done");
	}

}
